package com.huaxin.hxmoduleworkorder.dto.request;

import com.huaxin.hxmoduleworkorder.common.enums.MaintenanceOrderOperation;
import com.huaxin.hxmoduleworkorder.common.enums.MaintenanceOrderStatus;
import com.huaxin.hxmoduleworkorder.dto.request.base.baseMaintenanceOrderOperationReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@NoArgsConstructor
public class MaintenanceOrderUpdateStatusReqDTO extends baseMaintenanceOrderOperationReqDTO {
    @Schema(description = "执行动作", example = "assign")
    private MaintenanceOrderOperation action;

    @Schema(description = "目标状态", example = "assigned")
    private MaintenanceOrderStatus targetStatus;
}